package com.zhiche.lisa.bms.pojo.dto.arfund;

import com.baomidou.mybatisplus.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 应收款项
 * </p>
 *
 * @author hongbo
 * @since 2018-09-20
 */
public class ArFundDTO extends Model<ArFundDTO> {

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 扣款项
     */
    private String withhold;
    /**
     * 承运商id
     */
    private Long lspId;
    /**
     * 承运商名称
     */
    private String lspName;
    /**
     * 车队id
     */
    private Long fleetId;
    /**
     * 车队名称
     */
    private String fleetName;
    /**
     * 司机名称
     */
    private String driverName;
    /**
     * 司机手机
     */
    private String driverMobile;
    /**
     * 司机id
     */
    private Long driverId;
    /**
     * 金额
     */
    private BigDecimal sum;
    /**
     * 扣款方式:0油卡1现金
     */
    private String withholdWay;
    /**
     * 已执行金额
     */
    private BigDecimal executeSum;
    /**
     * 剩余金额
     */
    private BigDecimal balance;
    /**
     * 状态：0、新增1、执行中 2、完成
     */
    private Integer status;
    /**
     * 创建日期
     */
    private Date gmtCreate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getWithhold() {
        return withhold;
    }

    public void setWithhold(String withhold) {
        this.withhold = withhold;
    }

    public Long getLspId() {
        return lspId;
    }

    public void setLspId(Long lspId) {
        this.lspId = lspId;
    }

    public String getLspName() {
        return lspName;
    }

    public void setLspName(String lspName) {
        this.lspName = lspName;
    }

    public Long getFleetId() {
        return fleetId;
    }

    public void setFleetId(Long fleetId) {
        this.fleetId = fleetId;
    }

    public String getFleetName() {
        return fleetName;
    }

    public void setFleetName(String fleetName) {
        this.fleetName = fleetName;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverMobile() {
        return driverMobile;
    }

    public void setDriverMobile(String driverMobile) {
        this.driverMobile = driverMobile;
    }

    public Long getDriverId() {
        return driverId;
    }

    public void setDriverId(Long driverId) {
        this.driverId = driverId;
    }

    public BigDecimal getSum() {
        return sum;
    }

    public void setSum(BigDecimal sum) {
        this.sum = sum;
    }

    public String getWithholdWay() {
        return withholdWay;
    }

    public void setWithholdWay(String withholdWay) {
        this.withholdWay = withholdWay;
    }

    public BigDecimal getExecuteSum() {
        return executeSum;
    }

    public void setExecuteSum(BigDecimal executeSum) {
        this.executeSum = executeSum;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ArFund{" +
                "id=" + id +
                ", withhold='" + withhold + '\'' +
                ", lspId=" + lspId +
                ", lspName='" + lspName + '\'' +
                ", fleetId=" + fleetId +
                ", fleetName='" + fleetName + '\'' +
                ", driverName='" + driverName + '\'' +
                ", driverMobile='" + driverMobile + '\'' +
                ", driverId=" + driverId +
                ", sum=" + sum +
                ", withholdWay='" + withholdWay + '\'' +
                ", executeSum=" + executeSum +
                ", balance=" + balance +
                ", status=" + status +
                ", gmtCreate=" + gmtCreate +
                '}';
    }
}
